from __init__ import *

@fetch
def like_test():
    return (
        requests.post(
            url=Apis.user_like_like,
            params={
                "gameId": "2",
                "commentId": "6"
            },
            headers={
                "token" : "5d0e214b-f7af-4ed7-8675-0c3ec9a22881"
            }         
        )
    )

@fetch
def cancel_like():
    return (
        requests.get( 
            url=Apis.user_like_cancel_like,
            params={
                "gameId": "2",
                "commentId": "6"
            },
            headers={
                 "token" : "5d0e214b-f7af-4ed7-8675-0c3ec9a22881"
            }
        )
    )

@fetch
def load_all_like_comment():
    return (
        requests.get( 
            url=Apis.user_like_load_all_like_comment,
            params={
                "gameId": "2",
            },
            headers={
                 "token" : "5d0e214b-f7af-4ed7-8675-0c3ec9a22881"
            }
        )
    )

if __name__ == "__main__":
    pprint(like_test())
    pprint(load_all_like_comment())